home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2001 May / SGI IRIX Installation Tools & Overlays 2001 May - Disc 3.iso / relnotes / dmedia_eoe / ch05.z / ch05
Text File  |  2001-04-16  |  8KB  |  199 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        5.  _S_o_u_n_d_S_c_h_e_m_e
  9.  
  10.  
  11.        _s_o_u_n_d_s_c_h_e_m_e is an X-based server daemon which provides
  12.        high-level audio playback services for applications.  Based
  13.        on the audio and audiofile libraries, _s_o_u_n_d_s_c_h_e_m_e mixes and
  14.        plays sounds on demand as requested by multiple client
  15.        programs using a single audio port.  Each client may provide
  16.        an X resource file which specifies a palette of sound names
  17.        and the mappings of these names to soundfiles.  Named sounds
  18.        are activated within applications using function calls from
  19.        the server's client library. The _s_o_u_n_d_s_c_h_e_m_e server is
  20.        started automatically at login from the Xsession file for
  21.        SGI's _I_R_I_X _I_n_t_e_r_a_c_t_i_v_e _D_e_s_k_t_o_p(_T_M) user environment.
  22.  
  23.        A few sounds are assigned to system events (such as
  24.        launching applications, dropping file icons and searching
  25.        for items in the system).  There are no interface tools at
  26.        this time for user customization of sounds.  However,
  27.        knowledgeable users may edit *.soundfile resource items in
  28.        the client resource files to assign different soundfiles to
  29.        defined events.  The system default client resource files
  30.        are located at the following path:
  31.  
  32.            /usr/share/data/sounds/soundscheme/schemes
  33.  
  34.        Soundfiles referenced within the system default resource
  35.        files should be placed at:
  36.  
  37.            /usr/share/data/sounds/soundscheme/soundfiles
  38.  
  39.        Soundfiles to be used by SoundScheme must be in AIFF-C
  40.        format and recorded at 44.1kHz sampling rate.  The sound
  41.        server will ignore files that do not meet these
  42.        requirements.
  43.  
  44.        In IRIX 6.4 and previous releases, root access was required
  45.        to create custom sounds.  The user would have to edit the
  46.        _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s client resource file, and the sound changes
  47.        affected the whole system for all users.  In IRIX 6.5, users
  48.        familiar with X resource files can create custom sounds and
  49.        put them into effect only for their own login session, and
  50.        root access is not required.
  51.  
  52.        The output level (volume) of SoundScheme sounds may not be
  53.        changed independently of the system-wide audio level.
  54.        Altering the system audio level via _a_p_a_n_e_l (audio control
  55.        panel) will affect the SoundScheme level as well.
  56.  
  57.        The SoundScheme sounds may be disabled by using the _I_R_I_X
  58.        _I_n_t_e_r_a_c_t_i_v_e _D_e_s_k_t_o_p Sounds panel provided for customization
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.        of the user's environment.  This panel contains a Desktop
  75.        Sounds checkbox used to set the enabled or disabled status
  76.        for SoundScheme.  Changed settings take immediate effect for
  77.        some applications; other applications won't pick up the
  78.        change until the next login.  Note that this toggle does not
  79.        kill the soundscheme process itself, but rather shuts off
  80.        the desktop requests to SoundScheme.  In IRIX 6.5, the user
  81.        can also use the Sounds panel to redirect SoundScheme sounds
  82.        to a different audio output device, such as the rear
  83.        analog-out jacks on an O2, instead of to the Default audio
  84.        output device, which is typically the headphones and
  85.        speakers.
  86.  
  87.        To disable the SoundScheme server daemon from starting up at
  88.        all, use _c_h_k_c_o_n_f_i_g to set 'soundscheme off'.  In this case,
  89.        the change will not take effect until the system is
  90.        restarted.
  91.  
  92.        The version of SoundScheme included in the IRIX 6.4 release
  93.        is the same as the version included with the 5.3 release.
  94.        The IRIX 6.5 SoundScheme has changed since IRIX 6.4.
  95.  
  96.  
  97.        5.1  _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s__t_o__I_R_I_X__6_._5__S_o_u_n_d_S_c_h_e_m_e
  98.  
  99.  
  100.  
  101.  
  102.           +o A possible security vulnerability was removed.
  103.  
  104.  
  105.           +o A new aaaalllllllloooowwwwOOOOvvvveeeerrrrllllaaaapppp resource will, if set to true for a
  106.             given sound, allow soundscheme to start playing the
  107.             sound again even if it is already playing.  This was
  108.             introduced to allow dynamic audio feedback for the
  109.             "type to select" feature in the IRIX Interactive
  110.             Desktop.
  111.  
  112.  
  113.           +o The audio output device can now be changed dynamically.
  114.  
  115.  
  116.           +o In IRIX 6.5, SoundScheme accepts a ----aaaauuuuxxxx _f_i_l_e_n_a_m_e
  117.             command-line option that makes it load an auxiliary
  118.             scheme database to override sounds defined in the
  119.             /_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s/_d_e_f_a_u_l_t_S_c_h_e_m_e._s_s
  120.             soundscheme.  This allows users to change sounds
  121.             without having root access.
  122.  
  123.             To hear customized sounds, users who create their own
  124.             soundscheme must kill soundscheme, then restart it
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.             using the ----aaaauuuuxxxx _f_i_l_e_n_a_m_e option where _f_i_l_e_n_a_m_e is the
  141.             name of their soundscheme.  To have their sounds
  142.             remembered across logins, users can copy the
  143.             /_v_a_r/_X_1_1/_x_d_m/_X_s_e_s_s_i_o_n._d_t file to their home directory
  144.             as $_H_O_M_E/._x_s_e_s_s_i_o_n, then edit the copy and add the ----aaaauuuuxxxx
  145.             _f_i_l_e_n_a_m_e option to the ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee startup line.  Users
  146.             must exercise caution, as the $_H_O_M_E/._x_e_s_s_i_o_n file will
  147.             run instead of the system /_v_a_r/_X_1_1/_x_d_m/_X_s_e_s_s_i_o_n._d_t
  148.             file, and errors in the $_H_O_M_E/._x_s_e_s_s_i_o_n file can
  149.             prevent the user from logging in at the console.
  150.  
  151.             Here is an example personal soundscheme file:
  152.  
  153.             ****ssssoooouuuunnnnddddPPPPaaaalllleeeetttttttteeee:::: WWWWaaaarrrrnnnniiiinnnngggg
  154.  
  155.             ****WWWWaaaarrrrnnnniiiinnnngggg....ssssoooouuuunnnnddddffffiiiilllleeee::::             00008888....ttttiiiinnnngggg....aaaaiiiiffffcccc
  156.             ****WWWWaaaarrrrnnnniiiinnnngggg....llllaaaabbbbeeeellll::::                 WWWWaaaarrrrnnnniiiinnnngggg
  157.  
  158.             The above file, when used as an auxiliary soundscheme,
  159.             will cause a triangle sound to play when a new file
  160.             icon appears on the desktop instead of the default
  161.             piano sound.  Other desktop sounds will remain
  162.             unaffected (ex., the sand shifting sound will still
  163.             play when the user moves an icon on the background).
  164.  
  165.  
  166.           +o These old SoundScheme message types which were
  167.             implemented previously as simple no-op placeholders are
  168.             now no longer supported: create, destroy, start, stop,
  169.             set, get, query, and enable.
  170.  
  171.  
  172.           +o The ssplay utility program now accepts a ----oooo command-
  173.             line option for setting and querying the current
  174.             SoundScheme audio output device.
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.